$(document).ready(function(){
	var oldToggleMenu = window.toggleMenu;
	window.toggleMenu = function(a){oldToggleMenu(a), $(".popup").draggable({handle: ".popupFrameTitle", stack: ".popup" });}
	var oldShowProfileType = window.showProfileType;
	window.showProfileType = function(a,b){oldShowProfileType(a,b), $(".popup").draggable({handle: ".popupFrameTitle", stack: ".popup"});}
});